package pojo;

import java.util.Date;

/**
 * Pointdispatchhistory entity. @author MyEclipse Persistence Tools
 */

public class Pointdispatchhistory implements java.io.Serializable {

	// Fields

	private Integer pointDispatchId;
	private User user;
	private Date pointDispatchDate;
	private Integer pointDispatchAmount;
	private String pointDispatchReason;

	// Constructors

	/** default constructor */
	public Pointdispatchhistory() {
	}

	/** minimal constructor */
	public Pointdispatchhistory(Integer pointDispatchId, User user,
			Date pointDispatchDate, Integer pointDispatchAmount) {
		this.pointDispatchId = pointDispatchId;
		this.user = user;
		this.pointDispatchDate = pointDispatchDate;
		this.pointDispatchAmount = pointDispatchAmount;
	}

	/** full constructor */
	public Pointdispatchhistory(Integer pointDispatchId, User user,
			Date pointDispatchDate, Integer pointDispatchAmount,
			String pointDispatchReason) {
		this.pointDispatchId = pointDispatchId;
		this.user = user;
		this.pointDispatchDate = pointDispatchDate;
		this.pointDispatchAmount = pointDispatchAmount;
		this.pointDispatchReason = pointDispatchReason;
	}

	// Property accessors

	public Integer getPointDispatchId() {
		return this.pointDispatchId;
	}

	public void setPointDispatchId(Integer pointDispatchId) {
		this.pointDispatchId = pointDispatchId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getPointDispatchDate() {
		return this.pointDispatchDate;
	}

	public void setPointDispatchDate(Date pointDispatchDate) {
		this.pointDispatchDate = pointDispatchDate;
	}

	public Integer getPointDispatchAmount() {
		return this.pointDispatchAmount;
	}

	public void setPointDispatchAmount(Integer pointDispatchAmount) {
		this.pointDispatchAmount = pointDispatchAmount;
	}

	public String getPointDispatchReason() {
		return this.pointDispatchReason;
	}

	public void setPointDispatchReason(String pointDispatchReason) {
		this.pointDispatchReason = pointDispatchReason;
	}

}